package io.jee.caisan.weixin.repository;

import java.util.List;

import org.springframework.data.jpa.repository.Modifying;
import org.springframework.data.jpa.repository.Query;

import io.jee.alaska.data.jpa.hibernate.AlaskaRepository;
import io.jee.caisan.weixin.domain.SysConfig;

public interface SysConfigRepository extends AlaskaRepository<SysConfig, Integer> {

	@Modifying
	@Query("delete from SysConfig where id in(?1)")
	void deleteBatch(List<Integer> ids);
}
